package cloud.estate.car.service;

import cloud.estate.commons.bean.Car;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface CarService extends IService<Car> {
    Car getCarById(String id);
    JsonResult addCar(Car car);

    JsonResult updateCar(Car car);

    JsonResult deleteCar(String id);

    JsonResult queryCar(String id);

    JsonResult queryAllCar();
}
